import { http } from '@/common/axios.js'
import { config } from '@/common/config';

/**
 * 用户快捷菜单 API
 *
 * @author zy <741599086@qq.com>
 * @link https://www.superadminx.com/
 * */
export const adminUserShortcutMenuApi = {
    // 列表
    getList: (params = {}) => {
        return http.get('/app/admin/admin/AdminUserShortcutMenu/getList', params);
    },
    // 获取我所有的菜单
    getMenuList: (params = {}) => {
        return http.get('/app/admin/admin/AdminUserShortcutMenu/getMenuList', params);
    },
    // 更新
    update: (params = {}) => {
        return http.post('/app/admin/admin/AdminUserShortcutMenu/update', params);
    },
    // 更新排序
    updateSort: (params = {}) => {
        return http.post('/app/admin/admin/AdminUserShortcutMenu/updateSort', params);
    },
}